package com.ios.model.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 咨询管理对象 information
 * 
 * @author admin
 * @date 2025-04-14
 */
public class Information extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 咨询标题 */
    @Excel(name = "咨询标题")
    private String title;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creator;

    /** 咨询图片 */
    @Excel(name = "咨询图片")
    private String cover;

    /** 咨询细节 */
    @Excel(name = "咨询细节")
    private String detail;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }

    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("cover", getCover())
            .append("detail", getDetail())
            .toString();
    }
}
